<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1">
    <meta content=always name=referrer>
    <link rel="stylesheet" type="text/css" href="__STATIC__/css/newbase.css">
    <script src="__STATIC__/js/jquery-1.8.2.js"></script>
    <title>佣金</title>
</head>
<body>
<div class="wrap-yj">
    <div class="header">
        <p>佣金</p>
        <img src="__STATIC__/img_user/back.png" class="back" onclick="back_url();">
        <span><a href="{:url('user_info/app_commission_rule')}">佣金说明</a></span>
    </div>
    <div class="center">
        <div class="main">
            <img src="__STATIC__/img-new/new-bg2.png">
            <!--本人钱包余额-->
            <span class="cur">佣金金额（元）<br><span>{$result.actual_amount}</span></span>
            <!--当前余额-->
        </div>
        <ul class="list">
            <!--待审核合计-->
            <li><a><span>{$result.total_to_audit}</span><br><span>待审核(元)</span></a></li>
            <!--佣金(佣金)合计-->
            <li><a><span>{$result.general_income}</span><br><span>佣金(元)</span></a></li>
            <!--待收益合计-->
            <li class="num"><a href="javascript:void(0);"><span>{$result.to_yield}</span><br><span>待收益(元)</span></a></li>
        </ul>
    </div>
    <div class="content">
        <div class="tip">
            <p><span class="cir"></span><span class="note"> 分润会员收入佣金 </span><span class="cir"></span></p>
        </div>
        <div class="article" id="frhy">
            <!--<img src="assets/img_user/bg11.png" class="bg">-->
            <!--分销商已产生的佣金(佣金)合计-->
            <p>{$result.distribution_brokerage}<br><span>总计：(元)</span></p>
        </div>
        <ul class="list">
            <!--分销商待收益合计-->
            <li><a><span>{if condition="$result['distribution_to_yield']"} {$result['distribution_to_yield']} {else/} 0.00 {/if}</span><br><span>待收益(元)</span></a></li>
            <!--分销商数量-->
            <li><a href="{:url('mobile/user_info/distribution_partner')}"><span>{$result.distribution}</span><br><span>分销商(人)</span></a></li>
            <!--分销订单数量-->
            <li class="num"><a href="{:url('mobile/user_info/distribution_order')}?member_id=0"><span>{$result['distribution_order_count']}</span><br><span>分销订单</span></a></li>
        </ul>
</div>
<!--本人佣金开始-->
    <div class="content" id="last">
        <div class="tip">
            <p><span class="cir"></span><span class="note"> 本人收入佣金 </span><span class="cir"></span></p>
        </div>
        <div class="article" id="br">
            <!--<img src="assets/img_user/bg11.png" class="bg">-->
            <!--本人佣金(佣金)[已收益和待收益合计]-->
            <p>{$result.self_general_income}<br><span>总计：(元)</span></p>
        </div>
        <ul class="list" id="list">
            <!--本人待收益-->
            <li><a><span>{$result.self_to_yield}</span><br><span>待收益(元)</span></a></li>
            <!--本人订单数量-->
            <li class="num"><a href="{:url('mobile/user_info/distribution_order')}?member_id={$Think.session.member_id}"><span>{$result.self_order}</span><br><span>订单</span></a></li>
        </ul>
    </div>
    <!--本人佣金结束-->
    <div class="footer">
        <ul>
            <li><a href="{:url('mobile/user_info/withdrawals')}">提现</a></li>
            <li><a href="{:url('mobile/user_info/to_balance')}">转入余额</a></li>
            <li><a href="{:url('mobile/user_info/brokerage_details',['type'=>1])}">佣金明细</a></li>
            <li class="last"><a href="{:url('mobile/scan_code/qrcode')}?uid={$Think.session.member_id}&act=share">赚取佣金</a></li>
        </ul>
    </div>
</div>
</body>
<script>
    // 返回上一页
    function back_url() {
        var url = sessionStorage.getItem('commission_back');
        window.location.href=url;
    }
</script>
</html>